
let header_vm = new Vue({
    el:"header",
    data:{
        user:""
    },
    created:function () {

        axios.get("/checkLogin").then(function (response) {
            if (response.data == "") {
                return;
            } else if(response.data!="") {
                header_vm.user = response.data;
            }

        })

    }
})

